package com.cu.redis;

import org.springframework.beans.factory.annotation.Autowired;
import redis.clients.jedis.Jedis;

import java.util.List;

public class TestRedis {
    public static void main(String[] args) {
        Jedis jedis = new Jedis("192.168.64.128", 6379);
        System.out.println(jedis.lrange("user", 0, -1));




    }

}
